package cn.hx.whh.automaticticket.params;

/**
 * 打印条形码内容
 */
public class BarCodeContent extends PrintContent{
    /**
     * 条形码内容
     */
    public String code;

    /**
     * 条形码类型
     */
    public int type = 0;

    /**
     * 条形码宽度
     */
    public int width = 3;

    /**
     * 条形码高度
     */
    public int height = 100;

    /**
     * 条形码 HRI位置
     */
    public int hriPos = 2;

    public void setCode(String code) {
        this.code = code;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setHriPos(int hriPos) {
        this.hriPos = hriPos;
    }
}
